package com.example.consumer.consumer;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/testApi")
public class TestApiCtrl implements TestApi {
    @Override
    @RequestMapping(value = "", method = RequestMethod.GET)
    public String hello() throws Exception{
        System.out.println("apitest......");
        return "hi";
    }
}
